Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复腾讯云tencentos系统安装时报错 #1266

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

EASTCATV
Copy link

修复腾讯云tencentos系统安装时报错

脚本要识别腾讯云系统时会报错,判断的条件也会出错,
当识别tencentos时,判断系统版本 OS="centos"
修复代码:
if [[ $ID == "tencentos" ]]; then
OS="centos"
if [[ ${VERSION_ID%.*} -lt 3 ]]; then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants